from django.urls import path

from . import views

urlpatterns = [
    path("", views.ProductListView.as_view(), name="product-list"),
    path("create", views.ProductFormView.as_view(), name="product-create"),
    path("<int:pk>", views.ProductDetailView.as_view(), name="product-detail"),
    path("<int:pk>/edit", views.ProductUpdateView.as_view(), name="product-edit"),
]
